﻿using Apps.Common;
using Apps.DAL.HC;
using Apps.Models;
using Microsoft.Practices.Unity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apps.BLL.HC
{
    public partial class HC_PERIOD_BLL
    {
        HC_PERIOD_Repository dal = new HC_PERIOD_Repository ();
        public bool DoAdd(HC_PERIOD period_model)
        {
            if (period_model == null) return false;
            period_model.ID = ResultHelper.NewId;
            return dal.DoAdd(period_model);
        }
    }
}
